package com.zdsoft.finance.product.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import com.zdsoft.finance.base.service.impl.BaseServiceImpl;
import com.zdsoft.finance.common.base.CustomRepository;
import com.zdsoft.finance.product.entity.ProductMaterialList;
import com.zdsoft.finance.product.repository.ProductMaterialListRepository;
import com.zdsoft.finance.product.service.ProductMaterialListService;

/**
 * 资料清单列表操作实现
 * @author longwei 
 * @date 2016/11/22
 * @version 1.0
 */
@Service("productMaterialListService")
public class ProductMaterialListServiceImpl extends BaseServiceImpl<ProductMaterialList, CustomRepository<ProductMaterialList,String>> implements ProductMaterialListService{

	@Autowired
	private ProductMaterialListRepository productMaterialListRepository;

	@Override
	public Page<ProductMaterialList> queryByCons(ProductMaterialList productMaterialList, Pageable pageable) {
		return productMaterialListRepository.queryByCons(productMaterialList, pageable);
	}

}
